<template>
  <view class="container">
    <view class="content">
      <view
        class="content-node"
v-html="policyList"
      >

      </view>
    </view>
  </view>
</template>

<script>
	const Page = require('../../utils/mtj-wx-sdk.js').Page;
	import { protocol } from "../../api/user";
export default {
  data() {
    return {
      policyList: ''
    };
  },
  onLoad(option) {
    const title = option.title;
    uni.setNavigationBarTitle({
      title: title
    });
	protocol({
		protocol_name:title
	}).then(res=>{
		if(res){
			if(res.code === 20000){
				this.policyList = res.data
			}
		}
	})
  }
};
</script>

<style lang="scss" scoped>
.container,
.content {
  padding: 14px 16px;
}
.content {
  background-color: #ffffff;
}
.content-node {
  margin-bottom: 20px;
}
</style>
